package com.learn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 单品与特权信息关联表
 *
 * @author yaoqihui
 * @version 2025/5/6
 * @see [相关类/方法]
 * @since [learn-platform]
 */
@Data
@TableName ("product_item_ref")
public class ProductItemBenefitRef
{

	/**
	 * 主键
	 */
	@TableId (type = IdType.AUTO)
	private Integer id;

	/**
	 * 单品id
	 */
	private Integer productItemId;

	/**
	 * 特权id
	 */
	private String benefitId;

	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;
}